const state = {
  userState: {
    clientNo: '',
    phone: ''
  }
}

const getters = {
  getClientNo (state) {
    return state.userState.clientNo
  },
  getPhone (state) {
    return state.userState.phone
  }
}

const actions = {

}

const mutations = {
  saveUserInfo (state, obj) {
    state.userState = obj
  }
}

export default {
  state,
  getters,
  actions,
  mutations
}
